package com.ds.lens.data.vo.in;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * Description:
 *
 * @author WeiShaoying
 * @date 2020-02-11
 */

@Data
public class LoginUserInVO implements Serializable {
    private static final long serialVersionUID = 3738994091474933969L;

    @NotEmpty(message = "userName can not be empty.")
    @Size(max = 64, message = "userName can not be more than 64 characters")
    private String userName;
    @NotEmpty(message = "password can not be empty.")
    @Size(max = 64, message = "password can not be more than 64 characters")
    private String password;

}
